package org.hcyspartnoc.demo.pojo.dto.system;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import java.util.List;

@Data
@NoArgsConstructor
public class SysUserUpdateAndAddDto {

    private Integer id;
    @NotBlank
    private String account;
    @NotBlank
    private String nickname;
    private String password;
    private List<Integer> roleIds;
}
